package cn.taoticket.mapper;
import cn.taoticket.pojo.TaoticketItem;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TaoticketItemMapper {

	public TaoticketItem getTaoticketItemById(@Param(value = "id") Long id)throws Exception;

	public List<TaoticketItem>	getTaoticketItemListByMap(Map<String,Object> param)throws Exception;

	public Integer getTaoticketItemCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertTaoticketItem(TaoticketItem taoticketItem)throws Exception;

	public Integer updateTaoticketItem(TaoticketItem taoticketItem)throws Exception;

	public Integer deleteTaoticketItemById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteTaoticketItem(Map<String,List<String>> params);

}
